package com.hmall.config;

import com.hmall.interceptor.HandlerInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description TODO
 * @Author fang
 * @Date 2023-06-06 21:39
 */
@Configuration
public class CommonConfiguration {
    @Bean
    public HandlerInterceptor handlerInterceptor() {
        return new HandlerInterceptor();
    }
}
